﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace AppSocketModel
{
    /// <summary>
    /// GPS数据转发方式
    /// </summary>
    public enum RelayType
    {
        /// <summary>
        /// UDP
        /// </summary>
        [Description("UDP")]
        UDP,

        /// <summary>
        /// TCP
        /// </summary>
        [Description("TCP")]
        TCP,

    }

    /// <summary>
    /// 转发服务运行状态
    /// </summary>
    public enum RelayServerRunState
    {
        /// <summary>
        /// 运行中
        /// </summary>
        [Description("运行")]
        RUN,

        /// <summary>
        /// 停止
        /// </summary>
        [Description("停止")]
        STOP,
    }


    /// <summary>
    /// 转发服务控制命令
    /// </summary>
    public enum RelayControlCmdState
    {
        /// <summary>
        /// 待执行
        /// </summary>
        [Description("待执行")]
        NEW,

        /// <summary>
        /// 执行中
        /// </summary>
        [Description("执行中")]
        RUNNING,

        /// <summary>
        /// 完成
        /// </summary>
        [Description("完成")]
        COMPLETE,

        /// <summary>
        /// 错误
        /// </summary>
        [Description("错误")]
        ERROR,


    }
}
